using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Microsoft.ConnectionEngine.SampleDeploymentManager.WizardPages
{
    public partial class InstallationInteruptedPage : WizardPageBase
    {
        private const string ERROR_MESSAGE = "errorMessage";

        public InstallationInteruptedPage()
        {
            InitializeComponent();
        }

        public override void Activate(ref Dictionary<string, object> parameters)
        {
            base.Activate(ref parameters);

            if (_parameters.ContainsKey(ERROR_MESSAGE))
            {
                lblMessage.Text = _parameters[ERROR_MESSAGE].ToString();
            }
        }
    }
}
